Help >
Errors and Error Trapping > Compile Time Errors >
Error 504 - Executable requires PBMAIN/WINMAIN function
Executable requires PBMAIN/WINMAIN function - No WINMAIN or PBMAIN function was located in an executable program. Without one of these functions, it is not possible for Windows to execute the program.